package gui;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;

public class GraphOfCosts extends JFrame {

	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					GraphOfCosts frame = new GraphOfCosts();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public GraphOfCosts() {		  
	    this.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);
	    Double [] data = {2.9,4.0,5.0,6.0,23.0,23.0,32.0,5.0,23.0,66.0,77.0};
	    this.add(new CostFunctionGraph(data));
	    this.setSize(400,400);
	    this.setLocation(200,200);
	    this.setVisible(true);
	}

}
